package com.ruoyi.common.core.domain;



import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 订单表
*/
public class Orders implements Serializable {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;
    /** 订单编号 */
    private String orderNo;
    /** 商品名称 */
    private String goodsName;
    /** 商品数量 */
    private Integer num;
    /** 总价格 */
    private BigDecimal total;
    /** 创建时间 */
    private String createTime;
    /** 支付编号 */
    private String payNo;
    /** 支付时间 */
    private String payTime;
    /** 订单状态 */
    private String status;

    /** 订单ID，订单号 */
    private String orderNumber;

    /** 手机号 */
    private String phone;

    /** 消费者昵称 */
    private String customerName;

    /** 顾客id */

    private Long customerId;

    /** 订单时间（包括日期和时间） */

    private Date orderTime;


    /** 转换的订单时间（包括日期） */
    private String time;


    /** 订单总价 */

    private Long orderPrice;

    /** 根据消费金额所增加的积分 */

    private Long orderPoint;

    /** 订单状态id */

    private Long orderStatusId;

    private Long orderCallnum;

    private Long merchantId;

    private Long storeId;

    /** 顾客评价，用户对订单服务的评价 */

    private String orderComment;

    private List<TbCustomerOrderDetail> tbCustomerOrderDetail;


    public List<TbCustomerOrderDetail> getTbCustomerOrderDetail() {
        return tbCustomerOrderDetail;
    }

    public void setTbCustomerOrderDetail(List<TbCustomerOrderDetail> tbCustomerOrderDetail) {
        this.tbCustomerOrderDetail = tbCustomerOrderDetail;
    }




    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    /** 叫餐号 */



    private List<TbCustomerOrderDetail> tbCustomerOrderDetailList;

    public List<TbCustomerOrderDetail> getTbCustomerOrderDetailList() {
        return tbCustomerOrderDetailList;
    }

    public void setTbCustomerOrderDetailList(List<TbCustomerOrderDetail> tbCustomerOrderDetailList) {
        this.tbCustomerOrderDetailList = tbCustomerOrderDetailList;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }



    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId()
    {
        return customerId;
    }
    public void setOrderTime(Date orderTime)
    {
        this.orderTime = orderTime;
    }

    public Date getOrderTime()
    {
        return orderTime;
    }
    public void setOrderPrice(Long orderPrice)
    {
        this.orderPrice = orderPrice;
    }

    public Long getOrderPrice()
    {
        return orderPrice;
    }
    public void setOrderPoint(Long orderPoint)
    {
        this.orderPoint = orderPoint;
    }

    public Long getOrderPoint()
    {
        return orderPoint;
    }
    public void setOrderStatusId(Long orderStatusId)
    {
        this.orderStatusId = orderStatusId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Long getOrderStatusId()
    {
        return orderStatusId;
    }
    public void setOrderComment(String orderComment)
    {
        this.orderComment = orderComment;
    }

    public String getOrderComment()
    {
        return orderComment;
    }
    public void setOrderCallnum(Long orderCallnum)
    {
        this.orderCallnum = orderCallnum;
    }

    public Long getOrderCallnum()
    {
        return orderCallnum;
    }
    public void setMerchantId(Long merchantId)
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId()
    {
        return merchantId;
    }




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }


    @Override
    public String toString() {
        return "Orders{" +
                "id=" + id +
                ", orderNo='" + orderNo + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", num=" + num +
                ", total=" + total +
                ", createTime='" + createTime + '\'' +
                ", payNo='" + payNo + '\'' +
                ", payTime='" + payTime + '\'' +
                ", status='" + status + '\'' +
                ", tbCustomerOrderDetail=" + tbCustomerOrderDetail +
                ", orderNumber='" + orderNumber + '\'' +
                ", phone='" + phone + '\'' +
                ", customerName='" + customerName + '\'' +
                ", customerId=" + customerId +
                ", orderTime=" + orderTime +
                ", time='" + time + '\'' +
                ", orderPrice=" + orderPrice +
                ", orderPoint=" + orderPoint +
                ", orderStatusId=" + orderStatusId +
                ", orderComment='" + orderComment + '\'' +
                ", orderCallnum=" + orderCallnum +
                ", merchantId=" + merchantId +
                ", storeId=" + storeId +
                ", tbCustomerOrderDetailList=" + tbCustomerOrderDetailList +
                '}';
    }
}